home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if xxx%windir%==xxx goto NOTINWINDOWS
-
- echo.
- echo Please exit Windows(tm) and run GOSETUP again.
- echo.
- goto END
-
- :NOTINWINDOWS
- strlen %godir%
- if not errorlevel 255 goto FOUNDGODIR
- echo Add the line:
- echo.
- echo CALL GOSETUP
- echo.
- echo to your AUTOEXEC.BAT file.
- echo.
-
- :FOUNDGODIR
- echo Trying to set up GO....
- echo.
-
- set godir=./////////////////////////////////////////////////////////////////
- strlen %godir%
- if not errorlevel 255 goto COOL
-
- :ERROR
-
- echo.
- echo ERROR! ERROR! hehehehe...
- echo.
- goto END
-
- rem if %godir%==.///////////////////////////////////////////////// goto SUCESS
-
- :COOL
- if errorlevel 66 if not errorlevel 67 goto SUCESS
-
- echo.
- echo ERROR! GO could not be installed due to insufficient environment space
- echo read the file GO_READ.ME for info on how to tweek your computer
- echo to run GO.
- echo.
- goto END
-
- :SUCESS
- echo GO is now installed!
- echo.
-
- :END
-